package com.wclass.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.wclass.model.UserMobile;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * <p>
 * 聊天好友管理
 * </p>
 *
 * @author SEN
 * @since 2019-02-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("base_user_friend")
public class BaseUserFriend extends SuperEntity<BaseUserFriend> {

    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     */
    @TableField("user_id")
    private Long userId;
    /**
     * 好友id
     */
    @TableField("f_user_id")
    private Long fUserId;
    /**
     * 更新时间
     */
    @TableField("up_time")
    private Date upTime;

    @TableField(exist = false)
    private UserMobile userInfo;

}
